/*
 * Main.java
 *
 * 02/11/2009
 */
package kg.sound.player;

import javax.swing.SwingUtilities;

import kg.sound.player.ui.Controller;
import kg.sound.player.ui.Presenter;
import kg.sound.player.ui.View;

/**
 * @author fernando
 */
public class Main {

	public static final String TITLE = "Java Sound API Demo Application";

	public static void main(String[] args) throws Exception {
		Config.load();

		Model model = new Model();
		final View view = new View();
		Presenter presenter = new Presenter(model, view);
		new Controller(model, presenter);

		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				view.pack();
				view.setVisible(true);
			}
		});
	}
}
